package com.wise.mall.admin.service.ums;

import com.wise.mall.admin.dto.request.UmsAdminParam;
import com.wise.mall.admin.dto.response.UmsAdmin;
import com.wise.mall.common.domain.response.Oauth2TokenDto;
import com.wise.mall.common.domain.response.UserDto;
import com.wise.mall.common.model.Result;

public interface AdminService {

    UmsAdmin register(UmsAdminParam umsAdminParam);

    Result<Oauth2TokenDto> login(String username, String password);

    UserDto loadUserByUsername(String username);

    UmsAdmin loadAdminUserById(Long userId);
}
